#include "Fifo.h"
#include "Position.h"
#include <queue>

using namespace std;

Fifo::Fifo()
{
}

Fifo::~Fifo()
{
}

void Fifo::enqueue(Requisition pos)
{
	diskQueue.push(pos);
}

Requisition Fifo::next(Position req)
{
	Requisition ret = diskQueue.front();
	diskQueue.pop();
	return ret;
}